# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'MainWindow.ui'
##
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QCheckBox, QFrame, QGridLayout,
    QGroupBox, QHeaderView, QMainWindow, QPlainTextEdit,
    QPushButton, QRadioButton, QSizePolicy, QSpinBox,
    QSplitter, QStatusBar, QTableWidget, QTableWidgetItem,
    QVBoxLayout, QWidget)
import res_rc

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(837, 471)
        font = QFont()
        font.setPointSize(10)
        MainWindow.setFont(font)
        self.centralWidget = QWidget(MainWindow)
        self.centralWidget.setObjectName(u"centralWidget")
        self.verticalLayout = QVBoxLayout(self.centralWidget)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(5, 5, 5, 5)
        self.splitterMain = QSplitter(self.centralWidget)
        self.splitterMain.setObjectName(u"splitterMain")
        self.splitterMain.setOrientation(Qt.Horizontal)
        self.groupBox = QGroupBox(self.splitterMain)
        self.groupBox.setObjectName(u"groupBox")
        self.groupBox.setMaximumSize(QSize(300, 16777215))
        self.gridLayout = QGridLayout(self.groupBox)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setContentsMargins(11, 11, 11, 11)
        self.gridLayout.setObjectName(u"gridLayout")
        self.btnInsertRow = QPushButton(self.groupBox)
        self.btnInsertRow.setObjectName(u"btnInsertRow")

        self.gridLayout.addWidget(self.btnInsertRow, 3, 0, 1, 1)

        self.btnAppendRow = QPushButton(self.groupBox)
        self.btnAppendRow.setObjectName(u"btnAppendRow")

        self.gridLayout.addWidget(self.btnAppendRow, 3, 1, 1, 1)

        self.chkBoxHeaderH = QCheckBox(self.groupBox)
        self.chkBoxHeaderH.setObjectName(u"chkBoxHeaderH")
        self.chkBoxHeaderH.setChecked(True)

        self.gridLayout.addWidget(self.chkBoxHeaderH, 9, 0, 1, 1)

        self.chkBoxEditable = QCheckBox(self.groupBox)
        self.chkBoxEditable.setObjectName(u"chkBoxEditable")
        self.chkBoxEditable.setChecked(True)

        self.gridLayout.addWidget(self.chkBoxEditable, 8, 0, 1, 1)

        self.btnReadToText = QPushButton(self.groupBox)
        self.btnReadToText.setObjectName(u"btnReadToText")
        self.btnReadToText.setMinimumSize(QSize(0, 25))

        self.gridLayout.addWidget(self.btnReadToText, 7, 0, 1, 2)

        self.chkBoxRowColor = QCheckBox(self.groupBox)
        self.chkBoxRowColor.setObjectName(u"chkBoxRowColor")
        self.chkBoxRowColor.setChecked(True)

        self.gridLayout.addWidget(self.chkBoxRowColor, 8, 1, 1, 1)

        self.radioSelectItem = QRadioButton(self.groupBox)
        self.radioSelectItem.setObjectName(u"radioSelectItem")
        self.radioSelectItem.setChecked(True)

        self.gridLayout.addWidget(self.radioSelectItem, 10, 1, 1, 1)

        self.chkBoxHeaderV = QCheckBox(self.groupBox)
        self.chkBoxHeaderV.setObjectName(u"chkBoxHeaderV")
        self.chkBoxHeaderV.setChecked(True)

        self.gridLayout.addWidget(self.chkBoxHeaderV, 9, 1, 1, 1)

        self.radioSelectRow = QRadioButton(self.groupBox)
        self.radioSelectRow.setObjectName(u"radioSelectRow")
        self.radioSelectRow.setChecked(False)

        self.gridLayout.addWidget(self.radioSelectRow, 10, 0, 1, 1)

        self.btnIniData = QPushButton(self.groupBox)
        self.btnIniData.setObjectName(u"btnIniData")
        self.btnIniData.setMinimumSize(QSize(0, 25))

        self.gridLayout.addWidget(self.btnIniData, 2, 0, 1, 2)

        self.spinRowCount = QSpinBox(self.groupBox)
        self.spinRowCount.setObjectName(u"spinRowCount")
        self.spinRowCount.setMinimum(2)
        self.spinRowCount.setValue(8)

        self.gridLayout.addWidget(self.spinRowCount, 1, 1, 1, 1)

        self.btnSetHeader = QPushButton(self.groupBox)
        self.btnSetHeader.setObjectName(u"btnSetHeader")
        self.btnSetHeader.setMinimumSize(QSize(0, 25))

        self.gridLayout.addWidget(self.btnSetHeader, 0, 0, 1, 2)

        self.btnSetRows = QPushButton(self.groupBox)
        self.btnSetRows.setObjectName(u"btnSetRows")
        self.btnSetRows.setMinimumSize(QSize(0, 25))

        self.gridLayout.addWidget(self.btnSetRows, 1, 0, 1, 1)

        self.btnAutoHeight = QPushButton(self.groupBox)
        self.btnAutoHeight.setObjectName(u"btnAutoHeight")

        self.gridLayout.addWidget(self.btnAutoHeight, 6, 0, 1, 1)

        self.btnAutoWidth = QPushButton(self.groupBox)
        self.btnAutoWidth.setObjectName(u"btnAutoWidth")

        self.gridLayout.addWidget(self.btnAutoWidth, 6, 1, 1, 1)

        self.btnClearContents = QPushButton(self.groupBox)
        self.btnClearContents.setObjectName(u"btnClearContents")

        self.gridLayout.addWidget(self.btnClearContents, 4, 1, 1, 1)

        self.btnDelCurRow = QPushButton(self.groupBox)
        self.btnDelCurRow.setObjectName(u"btnDelCurRow")

        self.gridLayout.addWidget(self.btnDelCurRow, 4, 0, 1, 1)

        self.splitterMain.addWidget(self.groupBox)
        self.splitter = QSplitter(self.splitterMain)
        self.splitter.setObjectName(u"splitter")
        self.splitter.setFrameShape(QFrame.NoFrame)
        self.splitter.setFrameShadow(QFrame.Plain)
        self.splitter.setLineWidth(2)
        self.splitter.setOrientation(Qt.Vertical)
        self.tableInfo = QTableWidget(self.splitter)
        if (self.tableInfo.columnCount() < 4):
            self.tableInfo.setColumnCount(4)
        __qtablewidgetitem = QTableWidgetItem()
        self.tableInfo.setHorizontalHeaderItem(0, __qtablewidgetitem)
        __qtablewidgetitem1 = QTableWidgetItem()
        self.tableInfo.setHorizontalHeaderItem(1, __qtablewidgetitem1)
        __qtablewidgetitem2 = QTableWidgetItem()
        self.tableInfo.setHorizontalHeaderItem(2, __qtablewidgetitem2)
        if (self.tableInfo.rowCount() < 5):
            self.tableInfo.setRowCount(5)
        __qtablewidgetitem3 = QTableWidgetItem()
        self.tableInfo.setItem(0, 0, __qtablewidgetitem3)
        icon = QIcon()
        icon.addFile(u":/icons/images/boy.ico", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        __qtablewidgetitem4 = QTableWidgetItem()
        __qtablewidgetitem4.setIcon(icon);
        self.tableInfo.setItem(0, 1, __qtablewidgetitem4)
        __qtablewidgetitem5 = QTableWidgetItem()
        __qtablewidgetitem5.setCheckState(Qt.Checked);
        self.tableInfo.setItem(0, 2, __qtablewidgetitem5)
        __qtablewidgetitem6 = QTableWidgetItem()
        self.tableInfo.setItem(0, 3, __qtablewidgetitem6)
        __qtablewidgetitem7 = QTableWidgetItem()
        self.tableInfo.setItem(1, 0, __qtablewidgetitem7)
        icon1 = QIcon()
        icon1.addFile(u":/icons/images/girl.ico", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        __qtablewidgetitem8 = QTableWidgetItem()
        __qtablewidgetitem8.setIcon(icon1);
        self.tableInfo.setItem(1, 1, __qtablewidgetitem8)
        __qtablewidgetitem9 = QTableWidgetItem()
        __qtablewidgetitem9.setCheckState(Qt.Checked);
        self.tableInfo.setItem(1, 2, __qtablewidgetitem9)
        __qtablewidgetitem10 = QTableWidgetItem()
        self.tableInfo.setItem(2, 0, __qtablewidgetitem10)
        __qtablewidgetitem11 = QTableWidgetItem()
        self.tableInfo.setItem(2, 1, __qtablewidgetitem11)
        __qtablewidgetitem12 = QTableWidgetItem()
        self.tableInfo.setItem(2, 2, __qtablewidgetitem12)
        __qtablewidgetitem13 = QTableWidgetItem()
        self.tableInfo.setItem(3, 0, __qtablewidgetitem13)
        __qtablewidgetitem14 = QTableWidgetItem()
        self.tableInfo.setItem(3, 1, __qtablewidgetitem14)
        __qtablewidgetitem15 = QTableWidgetItem()
        self.tableInfo.setItem(4, 0, __qtablewidgetitem15)
        __qtablewidgetitem16 = QTableWidgetItem()
        self.tableInfo.setItem(4, 1, __qtablewidgetitem16)
        __qtablewidgetitem17 = QTableWidgetItem()
        self.tableInfo.setItem(4, 2, __qtablewidgetitem17)
        __qtablewidgetitem18 = QTableWidgetItem()
        self.tableInfo.setItem(4, 3, __qtablewidgetitem18)
        self.tableInfo.setObjectName(u"tableInfo")
        self.tableInfo.setAlternatingRowColors(True)
        self.tableInfo.setRowCount(5)
        self.tableInfo.setColumnCount(4)
        self.splitter.addWidget(self.tableInfo)
        self.tableInfo.horizontalHeader().setDefaultSectionSize(100)
        self.tableInfo.verticalHeader().setDefaultSectionSize(30)
        self.textEdit = QPlainTextEdit(self.splitter)
        self.textEdit.setObjectName(u"textEdit")
        self.splitter.addWidget(self.textEdit)
        self.splitterMain.addWidget(self.splitter)

        self.verticalLayout.addWidget(self.splitterMain)

        MainWindow.setCentralWidget(self.centralWidget)
        self.statusBar = QStatusBar(MainWindow)
        self.statusBar.setObjectName(u"statusBar")
        MainWindow.setStatusBar(self.statusBar)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"Demo3_10, QTableWidget\u7684\u4f7f\u7528", None))
        self.groupBox.setTitle("")
        self.btnInsertRow.setText(QCoreApplication.translate("MainWindow", u"\u63d2\u5165\u884c", None))
        self.btnAppendRow.setText(QCoreApplication.translate("MainWindow", u"\u6dfb\u52a0\u884c", None))
        self.chkBoxHeaderH.setText(QCoreApplication.translate("MainWindow", u"\u663e\u793a\u884c\u8868\u5934", None))
        self.chkBoxEditable.setText(QCoreApplication.translate("MainWindow", u"\u8868\u683c\u53ef\u7f16\u8f91", None))
        self.btnReadToText.setText(QCoreApplication.translate("MainWindow", u"\u8bfb\u53d6\u8868\u683c\u5185\u5bb9\u5230\u6587\u672c", None))
        self.chkBoxRowColor.setText(QCoreApplication.translate("MainWindow", u"\u95f4\u9694\u884c\u5e95\u8272", None))
        self.radioSelectItem.setText(QCoreApplication.translate("MainWindow", u"\u5355\u5143\u683c\u9009\u62e9", None))
        self.chkBoxHeaderV.setText(QCoreApplication.translate("MainWindow", u"\u663e\u793a\u5217\u8868\u5934", None))
        self.radioSelectRow.setText(QCoreApplication.translate("MainWindow", u"\u884c\u9009\u62e9", None))
        self.btnIniData.setText(QCoreApplication.translate("MainWindow", u"\u521d\u59cb\u5316\u8868\u683c\u6570\u636e", None))
        self.btnSetHeader.setText(QCoreApplication.translate("MainWindow", u"\u8bbe\u7f6e\u8868\u5934", None))
        self.btnSetRows.setText(QCoreApplication.translate("MainWindow", u"\u8bbe\u7f6e\u884c\u6570", None))
        self.btnAutoHeight.setText(QCoreApplication.translate("MainWindow", u"\u81ea\u52a8\u8c03\u8282\u884c\u9ad8", None))
        self.btnAutoWidth.setText(QCoreApplication.translate("MainWindow", u"\u81ea\u52a8\u8c03\u8282\u5217\u5bbd", None))
        self.btnClearContents.setText(QCoreApplication.translate("MainWindow", u"\u6e05\u7a7a\u8868\u683c\u5185\u5bb9", None))
        self.btnDelCurRow.setText(QCoreApplication.translate("MainWindow", u"\u5220\u9664\u5f53\u524d\u884c", None))
        ___qtablewidgetitem = self.tableInfo.horizontalHeaderItem(0)
        ___qtablewidgetitem.setText(QCoreApplication.translate("MainWindow", u"\u52171", None));
        ___qtablewidgetitem1 = self.tableInfo.horizontalHeaderItem(1)
        ___qtablewidgetitem1.setText(QCoreApplication.translate("MainWindow", u"\u52172", None));
        ___qtablewidgetitem2 = self.tableInfo.horizontalHeaderItem(2)
        ___qtablewidgetitem2.setText(QCoreApplication.translate("MainWindow", u"\u52173", None));

        __sortingEnabled = self.tableInfo.isSortingEnabled()
        self.tableInfo.setSortingEnabled(False)
        ___qtablewidgetitem3 = self.tableInfo.item(0, 0)
        ___qtablewidgetitem3.setText(QCoreApplication.translate("MainWindow", u"0\u884c\uff0c0\u5217", None));
        ___qtablewidgetitem4 = self.tableInfo.item(0, 1)
        ___qtablewidgetitem4.setText(QCoreApplication.translate("MainWindow", u"0\u884c\uff0c1\u5217", None));
        ___qtablewidgetitem5 = self.tableInfo.item(0, 2)
        ___qtablewidgetitem5.setText(QCoreApplication.translate("MainWindow", u"0\u884c\uff0c2\u5217", None));
        ___qtablewidgetitem6 = self.tableInfo.item(0, 3)
        ___qtablewidgetitem6.setText(QCoreApplication.translate("MainWindow", u"0\u884c\uff0c3\u5217", None));
        ___qtablewidgetitem7 = self.tableInfo.item(1, 0)
        ___qtablewidgetitem7.setText(QCoreApplication.translate("MainWindow", u"1\u884c\uff0c0\u5217", None));
        ___qtablewidgetitem8 = self.tableInfo.item(1, 1)
        ___qtablewidgetitem8.setText(QCoreApplication.translate("MainWindow", u"1\u884c\uff0c1\u5217", None));
        ___qtablewidgetitem9 = self.tableInfo.item(2, 0)
        ___qtablewidgetitem9.setText(QCoreApplication.translate("MainWindow", u"2\u884c\uff0c0\u5217", None));
        ___qtablewidgetitem10 = self.tableInfo.item(3, 0)
        ___qtablewidgetitem10.setText(QCoreApplication.translate("MainWindow", u"3\u884c\uff0c0\u5217", None));
        ___qtablewidgetitem11 = self.tableInfo.item(4, 0)
        ___qtablewidgetitem11.setText(QCoreApplication.translate("MainWindow", u"4\u884c\uff0c0\u5217", None));
        ___qtablewidgetitem12 = self.tableInfo.item(4, 3)
        ___qtablewidgetitem12.setText(QCoreApplication.translate("MainWindow", u"4\u884c\uff0c3\u5217", None));
        self.tableInfo.setSortingEnabled(__sortingEnabled)

    # retranslateUi

